package com.snail.auth.entity;

import com.common.entity.IdEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "auth_authority")
public class AuthAuthority extends IdEntity {

    @Column(name = "menu_id")
    private Long menuId;

    @Column(length = 30)
    private String name;

    @Column(length = 32)
    private String value;
}
